import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {ActListComponent} from './act-list/act-list.component';
import { DetailActiComponent } from './detail-acti/detail-acti.component';
import { ActPublishComponent } from './act-publish/act-publish.component';

const routes: Routes = [
    { path: 'act-list', component: ActListComponent },
    { path: 'detail-acti/:id', component: DetailActiComponent },
    { path: 'act-publish', component: ActPublishComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ActivityRoutingModule { }
